From 49aa485313aa7f1fc9eb7ac0772fafe400bf29ee Mon Sep 17 00:00:00 2001 From: X! Date: Mon, 3 Jan 2011 19:55:44 +0000 Subject: [PATCH] Run is_callable, just to make sure the autoloader gets called. --- includes/MWFunction.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/MWFunction.php b/includes/MWFunction.php index b3e79debd9..0756ad24b0 100644 --- a/includes/MWFunction.php +++ b/includes/MWFunction.php @@ -30,6 +30,9 @@ class MWFunction { } } + // Run autoloader (workaround for call_user_func_array bug: http://bugs.php.net/bug.php?id=51329) + is_callable( $callback ); + return $callback; } -- 2.20.1